package com.bristua.barcode.supplier.controller;

import com.bristua.barcode.common.bean.Result;
import com.bristua.barcode.common.util.HandleResultUtil;
import com.bristua.barcode.supplier.biz.QueryQrCodeCookieDetailBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2019/9/6.
 */
@RestController
public class QueryQrCodeCookieDetailController {

    @Autowired
    private QueryQrCodeCookieDetailBiz queryQrCodeCookieDetailBiz;

    @PostMapping(value = "/qrcode/cookie/detail/{supplierId}")
    public Result queryQrCodeCookieDetail(@PathVariable(value = "supplierId") String supplierId){
        return HandleResultUtil.querySuccessResult(queryQrCodeCookieDetailBiz.queryQrCodeCookieDetail(supplierId));
    }
}
